﻿using ProTrack.Dto;
using ProTrack.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ProTrack.IServices.Stock 
{
   public interface IOtherExWareHouseServices
    {
        public Task<bool> AddAsync(OtherExWareHouse model, List<OtherExWareHouseItem>list);
        public Task<IEnumerable<OtherExWareHouse>> GetAllAsync();
        public Task<IEnumerable<OtherExWareHouse>> GetAsync(int PageIndex, int PageSize, string Number, string WareHouseId, string Status,string RealName);
        public Task<int> GetCountAsync(string Number, string WareHouseId, string Status, string RealName);
        public Task<bool> UpdateAsync(OtherExWareHouse model, List<OtherExWareHouseItem> list);
        public Task<bool> Delete(int[] Ids);
        public Task<bool> Delete(int Id);
        public Task<IEnumerable<OtherExWareHouseDto>> GetOtherExWareHouseItembyAsync(string OtherExWareHouseId, string WareHouseId);
        public Task<bool> UpdateStatus(long Id, int Status);
        

      
    }
}
